package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-03-25
 */
@Data
@ApiModel("内存使用")
@TableName("mempools")
public class Mempool implements Serializable {

    @TableId(value = "mempool_id", type = IdType.AUTO)
    @ApiModelProperty("内存池的唯一标识ID")
    private Integer mempoolId;

    @ApiModelProperty("内存池的索引")
    private String mempoolIndex;

    @TableField("entPhysicalIndex")
    @ApiModelProperty("实体物理索引")
    private Integer entPhysicalIndex;

    @ApiModelProperty("内存池的类型")
    private String mempoolType;

    @ApiModelProperty("内存池的类别")
    private String mempoolClass;

    @ApiModelProperty("内存池的精度")
    private Integer mempoolPrecision;

    @ApiModelProperty("内存池的描述信息")
    private String mempoolDescr;

    @ApiModelProperty("设备的ID")
    private Integer deviceId;

    @ApiModelProperty("内存池的使用百分比")
    private Integer mempoolPerc;

    @ApiModelProperty("内存池使用百分比的OID")
    private String mempoolPercOid;

    @ApiModelProperty("内存池已使用的大小")
    private Long mempoolUsed;

    @ApiModelProperty("内存池已使用大小的OID")
    private String mempoolUsedOid;

    @ApiModelProperty("内存池空闲的大小")
    private Long mempoolFree;

    @ApiModelProperty("内存池空闲大小的OID")
    private String mempoolFreeOid;

    @ApiModelProperty("内存池的总大小")
    private Long mempoolTotal;

    @ApiModelProperty("内存池总大小的OID")
    private String mempoolTotalOid;

    @ApiModelProperty("内存池中最大的空闲块大小")
    private Long mempoolLargestfree;

    @ApiModelProperty("内存池中最小的空闲块大小")
    private Long mempoolLowestfree;

    @ApiModelProperty("内存池是否已删除的标识")
    private Boolean mempoolDeleted;

    @ApiModelProperty("内存池使用百分比的告警阈值")
    private Integer mempoolPercWarn;
}
